<?php

if ($detail_transport->num_rows() > 0) {
    $transport = $detail_transport->row();
}

?>

<div id="wrapper-content">
        <table class="titrepage" width="100%">
        <tr>
            <td >Information du transport</td>

        </tr>
    </table>

    <div id="view_profile" align="center">
     
        <?php echo form_open_multipart(site_url('transport/update_transport') . '/' . $transport->id); ?>
        <table align="center" id="form_profile" class="list" cellpadding="10px" cellspacing="0" width="100%">
               <tr>
                <td>Nom :</td>
                <td><input name="nom" type="text" value="<?php echo $transport->nom; ?>" /></td>
                <td><?php echo form_error('nom'); ?></td>
            </tr>
            <tr>
                <td>Durée:</td>
                <td><input name="duree" type="text" value="<?php echo $transport->duree; ?>" /></td>
                <td><?php echo form_error('duree'); ?></td>
            </tr>
            
            <tr>
                <td></td><td><input type="submit" name="submit" value="Enregistrer"/></td>
            </tr>
        </table>
    </div>
    <?php echo form_close() ?>

</div>

